<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
<%@page import="perucuy.transfers.NutrienteTO"%>
<%@page import="perucuy.domain.Detalle"%>
<html:html />
<logic:present name="mensajeBusqueda">
    <strong>${mensajeBusqueda}</strong>
</logic:present>

<logic:messagesPresent message="true">
    <ul class="mensajes">
        <html:messages id="msg" message="true">
            <li>${msg}</li>
        </html:messages>
    </ul>
</logic:messagesPresent>
<html:form action="/operador/agregarNutriente" >
<table border="0" cellSpacing="0" cellPadding="0" width="471">
    <tr>
        <td colspan="3"><img src="<html:rewrite page="/resources/images/background_border_top.jpg"/>" /></td>
    </tr>
    <tr>
        <td width="10" class="leftcaja">&nbsp;</td>
        <td >
        <table border="0" cellSpacing="0" cellPadding="0" width="451">
            <tr>
                <td width="451" height="22"colspan="2" class="titlerow"> INGRESAR NUTRIENTE</td>
            </tr>
            <td colspan="2" width="451" >&nbsp;</td>
            <tr class="style12">
                <td height="25"><bean:message key="nutriente.descripcion" />: </td>
                <td height="25">
                    <html:text property="VDscNutriente" size="15" maxlength="8" styleId="VDscNutriente" />&nbsp;             
                </td>
            </tr>   
            <tr class="style12">
                <td height="25"><bean:message key="nutriente.NCodUnidadMedida" />: </td>
                <td height="25">
                   <html:select property="NCodUnidadMedida">
                        <logic:present name="listaTipoUnidad">
                            <html:options collection="listaTipoUnidad" property="codigo" labelProperty="descripcion"/>
                        </logic:present>
                    </html:select>                  
                </td>
            </tr> 
            <tr valign="top" class="style12">
                <td height="25"><bean:message key="nutriente.estado" />: </td>
                <td height="25" valign="top" >Activo</td>
            </tr>            
            </td></tr>
    <tr>
                <td >&nbsp;</td>
                <td >&nbsp;</td>
    </tr>
     </table>
        <td width="10" class="rightcaja">&nbsp;</td>
    </tr>
    <tr><td colspan="3">
            <img src="/perucuy/resources/images/background_border_bottom.jpg" />
    </td></tr>
</table>
<img src="<html:rewrite page="/resources/images/spacer.gif"/>" height="12"/><br>
<center>
    <table border="0" cellspacing="0" cellpadding="0" width="256">
        <tr>
            <td valign="center">&nbsp;</td>
            <td valign="center">&nbsp;</td>
            <td valign="left">&nbsp;</td>
            <td valign="left">&nbsp;</td>
        </tr>
        <tr>
            <td width="24" valign="center">&nbsp;</td>
            <td width="104" valign="center">
                <html:submit styleClass="button" property="boton">
                    <bean:message key="boton.guardar"/>
                </html:submit>
            </td>
            <td width="104" valign="left">
                <html:cancel styleClass="button">
                    <bean:message key="boton.cancelar"/>
                </html:cancel>
            </td>
            <td width="24" valign="left">&nbsp;</td>
        </tr>
    </table>
    </td>					
</center>
</html:form>
<html:errors/>
